home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1994 / MacHack 1994.toast / MacHack™94 / Talks & Papers / Michael D. Crawford↵ / Word Services SDK 1.0.5 / Revision History < prev    next >
Text File  |  1994-05-10  |  7KB  |  134 lines

  1. Change History:
  2.  
  3. The whole SDK is version 1.0.5.  Writeswell Jr. is currently at 1.0.3.
  4.  
  5. Word Services Specification
  6.  
  7. 1.0.5
  8.  
  9. The description of Check Word has been changed so that the optional guesses parameter is a different event, called Guess Word.  This allows guesses to be requested from AppleScript.
  10.  
  11. Spellswell 7 Demo
  12.  
  13. 1.0.4d5
  14.  
  15. I replaced IAC Spell Test with the Spellswell 7 Demo.  Numerous bugs that were present in IAC Spell Test are fixed in Spellswell 7.
  16.  
  17. Writeswell Jr.
  18.  
  19. I usually put my initials "MDC" in comments when I fix bugs.  Search for these to find out where to update your code.
  20.  
  21. 1.0.3
  22.  
  23. Updated WordServices.h to add constants from the latest protocol draft, and remove obsolete constants.
  24.  
  25. Fixed a number of memory leaks.  Most of these were descriptors that I neglected to dispose of.
  26.  
  27. Fixed spool printing.  Writeswell Jr. will now print on ImageWriters.
  28.  
  29. Autoscroll the window when moving out with arrow keys.
  30.  
  31. Close old file when doing a "Save As"
  32.  
  33. Fix a bug in my call to TEClick that made shift-clicking fail to extend the selection.
  34.  
  35. Rearranged some of the source files.
  36.  
  37. 1.0.2
  38.  
  39. Fixed bugs:
  40.  
  41. - Scrollbar page up/page down works properly now
  42. - Print Job dialog no longer gives error alert on Cancel
  43. - Only try to load the Spellswell 7 menu the first time
  44. - Display the version in the about box by reading the 'vers' resource.
  45.  
  46. 1.0.1
  47.  
  48. I added special code to automatically load the Spellswell 7 "Check Spelling" menu item if it is in the same folder when  the Writeswell Jr. Preferences are created.  This was done to for the Spellswell 7 Demo.
  49.  
  50. 1.0
  51.  
  52. Implemented all the menu items.
  53.  
  54. Fixed up the scroll bars some.  They're still kind of funky.
  55.  
  56. The background highlighting code will also scroll the selection into view if it is off the window.
  57.  
  58. I wrote code to check the style menu items, but they don't seem to work.  This appears to me to be a bug in the System, in the TextEdit TEContinuousStyle function.  I would appreciate any suggestions that anyone has on how to fix it.
  59.  
  60. 1.0d14
  61.  
  62. Filled out the file menu with Save, Print, etc.  Not all of these are implemented yet.
  63.  
  64. I removed the Check Selection menu item, and the menu items for interactive checking from the Services menu.  These will return in a future release.  We're getting ready to ship WWJr, and will ship it without the interactive code.  We do want to support it though, and hope to do so in the future.
  65.  
  66. 1.0d13
  67.  
  68. I fixed a bug in which the speller would fail to read all of the text in the second and subsequent blocks of a multiple block document.
  69.  
  70. 1.0d12
  71.  
  72. I fixed a bug in Writeswell Jr. which would occasionally cause a crash when starting up a session.  DoBatchTableCheck in TableCheck.c disposed of a descriptor that had not been allocated.
  73.  
  74. Writeswell Jr. now supports the Count Elements event.  A speller may send Count Elements to find out how many elements are in the table of object specifiers used with the "Send table specifier" option.  One can also count the number of text blocks in a document window.  (The result will be 1 in both cases).  The Count Elements event has been added to the AETE resource so you can send it with AppleScript.
  75.  
  76. It is not strictly necessary to support Count Elements for Word Services.  The speller can tell when it is done by trying, and failing, to get a new block.  You should support Count Elements if you can; the only reason you might not want to is that it may require a lot of time to actually count the elements.  This might be the case if the elements are all the records in a database that match a particular search pattern, for example.
  77.  
  78. A bug has been fixed in the speller which prevented it from checking more than one text block when "Send table specifier" is selected.
  79.  
  80. A bug has been fixed which made the speller always replace the same range of characters if background highlighting was not supported in the word processor.
  81.  
  82. 1.0d11
  83.  
  84. I now launch the speller by sending an Open Selection event to the Finder, rather than by calling LaunchApplication.  This has the advantage of displaying zoom rects, and greying out the icon of the speller to show that it is running.  (If one uses LaunchApplication, the Finder does not know that the speller has been launched).
  85.  
  86. I had tried this before, but it did not work because one of the parameters was wrong.  Instead of sending an alias descriptor for the speller, one must send an AEList of alias descriptors.
  87.  
  88. Support has been added for the "listHead" method of spellchecking.  Writeswell Jr. will send an object specifier to a table of text specifiers of you select "Send Table Specifier" in the Options dialog.  The speller will respond to this by sending Get Data events to get object specifier objects from the table, and use each object specifier in turn to do spellchecking.  This is most useful for documents that contain large numbers of separate text cells.
  89.  
  90. 1.0d10
  91.  
  92. I fixed a bug in which the formRange specifiers sent by the speller were one character too long.  This effectively made 0 be the last character in the text field, rather than -1.  The bug was compensated for in Writeswell Jr., so I didn't notice either bug.
  93.  
  94. This makes Writeswell Jr. and IAC Spell Test incompatible with previous versions.
  95.  
  96. 1.0d9
  97.  
  98. I implemented the "Remove Services" menu item.  Now you don't have to throw away the preferences file to remove menu items from the Services menu.
  99.  
  100. 1.0d8
  101.  
  102. I added an AETE resource to Writeswell Jr. to support AppleScript.  The AppleScript support is still pretty rudimentary, but will grow over time.
  103.  
  104. 1.0d7
  105.  
  106. I changed the parameter of the batch event to require a list of object specifiers.  This is meant to simplify the use of the "listHead" method of getting the specifiers.  Even if you just want a single block of text spellchecked, you must send a list with a single element.
  107.  
  108. This makes Writeswell Jr. and IAC Spell Test incompatible with previous versions.
  109.  
  110. 1.0d6
  111.  
  112. Added the Font and Style menus in Writeswell Jr., and changed the TextEdit record to use Styled Textedit.
  113.  
  114. 1.0d5
  115.  
  116. Changed the name of the text editor to "Writeswell Jr."
  117.  
  118. Changed services menu to get menu strings from the speller.  Selecting the speller's item will launch the speller if it is not already running.
  119.  
  120. Added the preferences file.
  121.  
  122. Made the window resizable and scrollable.
  123.  
  124. Made the speller respond immediately to batch events so it can respond when launched by the editor.  Before, it needed a couple null events before it would start responding to batch events.
  125.  
  126. 1.0d3
  127.  
  128. Changed the icons
  129.  
  130. Fixed some bugs in the speller that would cause out of memory errors (these were in the speller code itself, and not the IAC stuff)
  131.  
  132. Neatened up the speller dialogs a bit.
  133.  
  134. Recompiled with ThinkC 5.0.2.